package com.cq.ssm.service;

import java.util.List;

import com.cq.ssm.po.Contract;
import com.cq.ssm.po.ContractCustom;

public interface ContractService {

	//根据id删除一条记录
	public boolean deleteById(Integer id) throws Exception;
	
	//根据stuffId查询记录
	public List<ContractCustom> findByStuffID(Integer id) throws Exception;
	
	//插入一条记录
	public boolean insertContract(Contract contract) throws Exception;
}
